package com.example.hellospringboot.testdb.mapper;

import com.example.hellospringboot.testdb.entity.Article;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticleMapper {
//    根据id查询文章(包含评论)

//public Article selectArticle(Integer id);
//    查询表所有数据
    public List<Article> getArticleList();
}
